-----------------------------------
--  Area: Giddeus (145)
--   Mob: Hoo_Mjuu_the_Torrent
-----------------------------------

require("scripts/globals/settings");

-----------------------------------
-- onMobDeath
-----------------------------------

function onMobDeath(mob,killer)	

	-- Set Hoo_Mjuu_the_Torrent's Window Open Time
	SetServerVariable("[POP]Hoo_Mjuu_the_Torrent", os.time(t) + (3600 /NM_TIMER_MOD)); -- 1 hour
	DeterMob(mob:getID(), true);

	-- Set PH back to normal, then set to respawn spawn
	PH = GetServerVariable("[PH]Hoo_Mjuu_the_Torrent");
	SetServerVariable("[PH]Hoo_Mjuu_the_Torrent", 0);
	DeterMob(PH, false);
	GetMobByID(PH):setRespawnTime(GetMobRespawnTime(PH));

end;

